package com.weixinadmin.dao;

import org.apache.log4j.Logger;

public class Messagedao {
	private static Logger logger = Logger.getLogger(Messagedao.class);//log4j
	
	/*
	 <xml>
 <ToUserName><![CDATA[toUser]]></ToUserName>
 <FromUserName><![CDATA[fromUser]]></FromUserName>
 <CreateTime>1348831860</CreateTime>
 <MsgType><![CDATA[image]]></MsgType>
 <PicUrl><![CDATA[this is a url]]></PicUrl>
 <MediaId><![CDATA[media_id]]></MediaId>
 <MsgId>1234567890123456</MsgId>
 </xml>
	 */
	private long MsgId;
	private String FromUserName;
	private String ToUserName;
	private String MsgType;
	private int CreateTime;
	private String info;
	/*
	 * public custmergroup(){}
	
	public message(int id,int count,String name){
		this.setid(id);
		this.setcount(count);
		this.setname(name);			
	}
	*/
	public long getMsgId() {
        return MsgId;
    }
	
	public void setMsgId(long MsgId) {
	     this.MsgId = MsgId;
	}
	
	public int getCreateTime() {
        return CreateTime;
    }
	
	public void setcount(int CreateTime) {
	     this.CreateTime = CreateTime;
	}

	public String getFromUserName() {
         return FromUserName;
    }
	
	public void setFromUserName(String FromUserName) {
	     this.FromUserName = FromUserName;
	}

	public String getToUserName() {
        return ToUserName;
    }
	
	public void setToUserName(String ToUserName) {
	     this.ToUserName = ToUserName;
	}
	public String getinfo() {
        return info;
    }
	
	public void setinfo(String info) {
	     this.info = info;
	}
}
